package cn.humaohua.study.yanmo_design_pattern.ch07;

/**
 * 微星主板
 */
public class MSIMainboard implements MainboardApi {

    // cpu 针脚数
    private int pinHoles;

    public MSIMainboard(int pinHoles) {
        super();
        this.pinHoles = pinHoles;
    }


    @Override
    public void installCPU() {
        System.out.println("msi mainboard with " + pinHoles + " pinHoles.");
    }

}
